package com.sqx.modules.creation.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AddCommentDto {

    /**
     * 创作id
     */
    @TableField("creation_id")
    @NotNull
    private Integer creationId;

    /**
     * 评论内容
     */
    @TableField("comment_content")
    @NotBlank
    private String commentContent;

}
